<?php

$this->breadcrumbs=array();

$this->sidebarTop = array(
    'label' => Yii::t('BackEnd', 'Maker'),
    'link' => "#"
);

$this->moduleName = "Maker";

$this->menu=array(
    array('label'=>Common::icon('create'), 'url'=>array('create'), 'visible'=>UserAccess::checkAccess('MakerCreate')),
	array('label'=>Common::icon('update'), 'url'=>array('update', 'id'=>$model->id), 'visible'=>UserAccess::checkAccess('MakerUpdate')),
	array('label'=>Common::icon('delete'), 'url'=>'#', 'visible'=>UserAccess::checkAccess('MakerDelete'), 'linkOptions'=>array('csrf'=>Yii::app()->request->enableCsrfValidation, 'submit'=>array('delete','id'=>$model->id),'confirm'=>Yii::t('BackEnd', 'Are you sure you want to delete this item?'))),
	array('label'=>Common::icon('manager'), 'url'=>array('admin'), 'visible'=>UserAccess::checkAccess('MakerAdmin')),
);

$this->slidebar=array(
	array('label'=>Yii::t('Global','Basic information'), 'name'=>'basic-info', 'rel'=>'Maker-basic-info'),
);

$this->title = Common::icon('title') . $model->maker_name;
?>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'maker_name',
		'url_key',
		'sorder',
		array(
            'name' => 'status',
            'label' => Yii::t('BackEnd', 'Status'),
            'value' => Lvc::getStatusName($model->status),
        ),
	),
)); ?>
